<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <script th:src="@{/js/jquery.min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
</head>
<body>
<div style="margin-left: 100px; width: 70%">

		<span th:text="${company.fullname}"
              style="color: black; font-size: 30px;"></span>
    <hr />

    <ul id="myTab" class="nav nav-tabs">
        <li class="active"><a href="#home" data-toggle="tab">基本信息</a></li>
        <li><a href="#ios" data-toggle="tab">法律诉讼</a></li>
        <li><a href="#bb" data-toggle="tab">经营情况</a></li>
        <li><a href="#ios" data-toggle="tab">经营风险</a></li>
        <li><a href="#ios" data-toggle="tab">企业发展</a></li>
        <li><a href="#ios" data-toggle="tab">知识产权</a></li>
        <li><a href="#ios" data-toggle="tab"><span
                style="color: green;">历史信息</span></a></li>
    </ul>

    <div style="height: 100px"></div>
    <div id="myTabContent" class="tab-content">
        <div class="tab-pane fade in active" id="home">
            <table style="width: 90%;" class="table table-bordered">
                <tr align="center" height="40px">
                    <td style="width: 150px;">经营状态</td>
                    <td><span th:text="${company.regstatus}"></span></td>
                    <td>成立日期</td>
                    <td><span th:text="${#dates.format(company.apprdate,'yyyy-MM-dd')}"></span></td>
                </tr>

                <tr align="center" height="40px">
                    <td>统一社会信用代码</td>
                    <td><span th:text="${company.usccode}"></span></td>
                    <td>纳税人识别号</td>
                    <td><span th:text="${company.apprdate}"></span></td>
                </tr>

                <tr align="center" height="40px">
                    <td>注册号</td>
                    <td><span th:text="${company.regcode}"></span></td>
                    <td>组织机构代码</td>
                    <td><span th:text="${company.apprdate}"></span></td>
                </tr>

                <tr align="center" height="40px">
                    <td>公司类型</td>
                    <td>-</td>
                    <td>所属行业</td>
                    <td>-</td>
                </tr>

                <tr align="center" height="40px">
                    <td>核准日期</td>
                    <td><span th:text="${company.regstatus}"></span></td>
                    <td>登记机关</td>
                    <td><span th:text="${company.regauthority}"></span></td>
                </tr>

                <tr align="center" height="40px">
                    <td>所属地区</td>
                    <td>-</td>
                    <td>英文名</td>
                    <td>-</td>
                </tr>

                <tr align="center" height="40px">
                    <td>曾用名</td>
                    <td>-</td>
                    <td>参保人数</td>
                    <td>-</td>
                </tr>

                <tr align="center" height="40px">
                    <td>人员规模</td>
                    <td>-</td>
                    <td>营业期限</td>
                    <td><span th:text="${#dates.format(company.busstart,'yyyy-MM-dd')}"> </span> 至 <span
                            th:text="${#dates.format(company.busend,'yyyy-MM-dd')}"></span></td>
                </tr>
                <tr align="center" height="40px">
                    <td>公司地址</td>
                    <td colspan="3"><span th:text="${company.address}"></span></td>
                </tr>

                <tr align="center" height="40px">
                    <td>经营范围</td>
                    <td colspan="3"><span th:text="${company.busscope}"></span></td>
                </tr>
            </table>
        </div>
        <div class="tab-pane fade" id="ios">
        <p>22</p>
    </div>
        <div class="tab-pane fade" id="bb">
            <p>33</p>
        </div>
    </div>
    <script>
        $(function() {
            $('#myTab li:eq(0) a').tab('show');
        });
    </script>
</div>

</body>
</html>